using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;

namespace Windy.Json
{
    public static class JsonNotaionExtension
    {
        public static string ToDebugString(this IEnumerable<JsonNotation> notations)
        {
            StringBuilder SB = new StringBuilder();

            var notationArray = notations.ToArray();
            SB.AppendFormat("Notations Count: {0}", notationArray.Length);

            foreach (var fo in notationArray)
            {
                SB.AppendFormat("{0}, ", fo);
            }

            return SB.ToString();
        }
    }
}
